Total Complexity | 26 |
Dependencies | 2 |
Dependents | 2 |
Total lines | 227 |
Lines of code | 91 |
Logical lines of code | 48 |
Comment lines | 91 |
Methods | 16 |
Properties | 9 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
get_item_cost() | 59 | 5 | 16 | |
get_contents_weight() | 66 | 3 | 9 | |
get_contents_cost() | 70 | 2 | 6 | |
calculate_contents_weight() | 69 | 2 | 7 | |
calculate_contents_cost() | 69 | 2 | 7 | |
get_contents_items_count() | 69 | 2 | 7 | |
__construct() | 67 | 1 | 8 | |
set_weight_rounding_precision() | 81 | 1 | 3 | |
prepare_contents() | 82 | 1 | 3 | |
get_contents() | 82 | 1 | 3 | |
get_item_weight() | 78 | 1 | 3 | |
filter_contents() | 73 | 1 | 5 | |
get_non_filtered_contents() | 82 | 1 | 3 | |
reset_contents() | 74 | 1 | 5 | |
get_destination_address() | 82 | 1 | 3 | |
get_currency() | 82 | 1 | 3 |